package com.hoko.blur.util;

import ohos.eventhandler.EventHandler;
import ohos.eventhandler.EventRunner;


public class SingleMainHandler {

    private static class MainHandlerHolder {
//        EventHandler handler = new EventHandler(EventRunner.getMainEventRunner());
//                    handler.postSyncTask(execute);
        private static EventHandler sMainHandler = new EventHandler(EventRunner.getMainEventRunner());
    }

    public static EventHandler get() {
        return MainHandlerHolder.sMainHandler;
    }
}
